package com.bite.spring.demo.sample;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2025-08-25
 * Time: 18:59
 */

@RestController
public class HelloController {

    @RequestMapping("/hello") //访问的是这里的路径
    public String hello1(){
        return "hello, Spring boot~";
    }
}
